package com.spic.business.violation.supervision.speed.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spic.business.violation.supervision.speed.domain.HkVehicle;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 海康车辆Mapper接口
 *
 * @author wenzhaolong
 * @date 2022-03-10
 */
@Mapper
public interface GetHkVehicleMapper extends BaseMapper<HkVehicle> {

    /**
     * 删除表数据
     * @return 结果
     */
    int deleteTable();

    /**
     * 新增数据
     * @param list 列表数据
     * @return 结果
     */
    int insertBatch(List<HkVehicle> list);

    /**
     * 通过车牌号查询人员工号
     * @param vehicleNo 车牌号
     * @return 对象
     */
    String selectUserNameByVehicleNo(String vehicleNo);
}
